/*
 * @Author: 周艳凯 484894717@qq.com
 * @Date: 2025-03-04 09:25:09
 * @LastEditors: 周艳凯 484894717@qq.com
 * @LastEditTime: 2025-03-04 10:03:54
 * @FilePath: \BusStopBoard.Webd:\360MoveData\Users\75041\Desktop\uniapp框架\uniapp-vite-vue3-pinia-ts\src\main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createSSRApp } from 'vue';
import './style/main.css';
import App from './App.vue';
import pinia from './state/index'; //pinia
import router from './router'; //路由
export function createApp() {
    const app = createSSRApp(App);
    app.use(pinia);
    app.use(router);

    return {
        app,
    };
}
